﻿using Microsoft.Xna.Framework;

namespace xEngine.Input
{
    public class MouseButtonEventArgs : MouseEventArgs
    {
        #region Properties

        public MouseButtonState Left { get; private set; }
        public MouseButtonState Right { get; private set; }
        public MouseButtonState Middle { get; private set; }
        public MouseButtonState X1 { get; private set; }
        public MouseButtonState X2 { get; private set; }

        #endregion

        #region Constructors

        public MouseButtonEventArgs(Point position, MouseButtonState left, MouseButtonState right, MouseButtonState middle, MouseButtonState x1, MouseButtonState x2) : base(position)
        {
            Left = left;
            Right = right;
            Middle = middle;
            X1 = x1;
            X2 = x2;
        }

        #endregion

        #region Functions

        public override string ToString()
        {
            return base.ToString() + ", LMB = [" + Left + "], RMB = [" + Right + "], MMB = [" + Middle + "], X1MB = [" + X1 + "], X2MB = [" + X2 + "]";
        }

        #endregion
    }
}
